<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ page language="java" errorPage="/html/erro.jsp" %>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
     <%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path=request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Novo Usu&aacute;rios</title>

<link href="<%=path%>/css/botao.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/menu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=path%>/js/menu.js"></script>
<script type="text/javascript" src="<%=path%>/js/funcoes.js"></script>

</head>

<body onload="">





	<div id="tudo">
		<div id="logo"></div>
	
		<c:import url="/html/menu.jsp"/>
	
		<!-- inicio conteudo  
 -->
		<div class="conteudo">




 <c:if test="${mensagem!=null }">
 <p style="color: red;text-align: center;">${mensagem }</p>
 <%session.removeAttribute("mensagem"); %>
 </c:if>




 
 <form action="<%=path%>/Servlet" method="post" onsubmit="return validaNovoUsuarios(this);">
    <input type="hidden" name="acao" value="adicionar"/> 
	<input type="hidden" name="classe" value="UsuarioControl"/>
<!-- 	<input type="hidden" name="acao" value="UsuarioControl.adicionar"/> -->
	<input type="hidden" name="destino" value="/html/home.jsp"/>
	
 
 

 
<table id="table-login" align="center">
<tr>

<td>Nome</td>
<td> <input type="text" name="nome" class="edit"/></td>

</tr><tr>

<td>Email</td>
<td> <input type="text" name="email" class="edit"/></td>
</tr><tr>

<td>Telefone1</td>
<td> <input type="text" name="telefone1" class="edit" maxlength="9" onkeypress="return isNumber(this);"/></td>

</tr><tr>


<td>Telefone2</td>
<td> <input type="text" name="telefone2" class="edit" maxlength="9" onkeypress="return isNumber(this);"/></td>

</tr><tr>


<td>Login</td>
<td> <input type="text" name="login" class="edit"/></td>

</tr> 
</table>
<p style="text-align: center;">
<input type="submit" value="Salvar" class="botao-salvar" />
<input type="button" value="Cancelar" class="botao-cancelar" onclick="history.back();"/>
 </p>
</form>
 

















		</div>
		<!-- fim conteudo  
 -->
		<c:import url="/html/rodape.jsp"/>
	</div>
</body>
</html>
